package com.zabra.zl.ui.index_fragment.account.model;

import com.zabra.zl.data.AccountBean;
import com.zabra.zl.net.RetrofitClient;
import com.zabra.zl.ui.index_fragment.account.contract.AccountFragmentContract;

import okhttp3.RequestBody;
import retrofit2.Call;

public class AccountFragmentModel implements AccountFragmentContract.Model {
    @Override
    public Call<AccountBean> getData(RequestBody body) {
        return RetrofitClient.getInstance().getApi().getAccountData(body);
    }
}
